<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<html>
<head>
</head>
<body>
<h1>欢迎登录xxx系统！${pageContext.session.getAttribute("userId")},${pageContext.session.getAttribute("username")}</h1><br/>
    <h2>我是服务器：${pageContext.request.localPort}</h2>
    <h2>当前sessionId：${pageContext.session.id}</h2>
<form method="post" action="${pageContext.request.contextPath}/login/loginOut">
    <table><input type="submit" value="注销"></table>
</form>
</body>
</html>
